// global transition css

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* 路由 */
.fade-slide-enter-from {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-slide-enter-active {
  transition: all 0.3s;
}

.fade-slide-enter-to {
  opacity: 1;
  transform: translateX(0px);
}

.fade-slide-leave-from {
  opacity: 1;
  width: 100%;
  height: 100%;
  transform: translateX(0px);
}

.fade-slide-leave-active {
  transition: all 0.3s;
}

.fade-slide-leave-to {
  opacity: 0;
  width: 0;
  height: 0;
  transform: translateX(30px);
}

// logo动画
.sidebarLogoFade-enter-active {
  transition: opacity 1.5s;
}

.sidebarLogoFade-enter-from {
  opacity: 0;
}

.sidebarLogoFade-leave-to {
  opacity: 0;
}

// 面包屑动画 方案1
.breadcrumb-enter-active {
  transition: all 0.25s;
}

.breadcrumb-enter-from,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(10px) skewX(-10deg);
}
